import request from "@/utils/request";

//核销列表
export function writeOff_list(query) {
  return request({
    url: "/town/coupon/list",
    method: "get",
    params: query,
  });
}

//公司核销
export function writeOff_company(ids) {
  return request({
    url: "/town/coupon/"+ids,
    method: "put",
  });
}

//删除核销列表数据
export function writeOff_delete(ids) {
  return request({
    url: "/town/coupon/"+ids,
    method: "delete",
  });
}


//商家列表
export function venue_list(query) {
  return request({
    url: "/town/coupon/listVenue",
    method: "get",
    params:query
  });
}